<div class="column half fl">

		  <div class="box themed_box">

            <h2 class="box-header"><?php echo $this->lang->line('contact'); ?></h2>
            <div class="box-content">
			<form id="formtest" name="formtest" method="post" action="<?php echo site_url($form['action']); ?>">
				<label class="form-label"><?php echo $this->lang->line('alphabet'); ?></label>
				<select class="form-field " id="select" name="start" title="Select a category">
                    <?php for($i=65;$i<=90;$i++):?>
                    <option value="<?php echo chr($i) ?>"><?php echo chr($i) ?></option>
                    <?php endfor;?>
				</select> -
				<select class="form-field" id="select" name="finish" title="Select a category">
                    <?php for($x=90;$x>=65;$x=$x-1):?>
                    <option value="<?php echo chr($x) ?>"><?php echo chr($x) ?></option>
                    <?php endfor;?>
				</select>
				<label class="form-label"><?php echo $this->lang->line('sector'); ?></label>
				<select class="form-field " id="select" name="sector_search" title="Select a category">
                    <option value="">ALL</option>
					<?php foreach($table['sectors'] as $rowsector): ?>
                    <option value="<?php echo $rowsector['id']; ?>"><?php echo $rowsector['sector_name']; ?></option>
                <?php endforeach;?>
				</select> 
				<label class="form-label"><?php echo $this->lang->line('group'); ?></label>
				<select class="form-field " id="select" name="group_search" title="Select a category">
                    <option value="">ALL</option>
					<?php foreach($table['groups'] as $rowgroup): ?>
                    <option value="<?php echo $rowgroup['id']; ?>"><?php echo $rowgroup['group_name']; ?></option>
					<?php endforeach;?>
				</select> 
				<label class="form-label"><?php echo $this->lang->line('source'); ?></label>
				<select class="form-field " id="select" name="source_search" title="Select a category">
                    <option value="">ALL</option>
					<?php foreach($table['sources'] as $rowsource): ?>
                    <option value="<?php echo $rowsource['id']; ?>"><?php echo $rowsource['source_name']; ?></option>
					<?php endforeach;?>
				</select> 
				<label class="form-label"><?php echo $this->lang->line('status'); ?></label>
				<select class="form-field " id="select" name="status_search" title="Select a category">
                    <option value="">ALL</option>
					<?php foreach($table['status'] as $rowstatus): ?>
                    <option value="<?php echo $rowstatus['id']; ?>"><?php echo $rowstatus['status_name']; ?></option>
					<?php endforeach;?>
				</select>
                <label class="form-label"><?php echo $this->lang->line('pic'); ?></label>
				<select class="form-field " id="rev" name="rev_search" title="Select a category">
                    <option value="">ALL</option>
					<?php foreach($table['users'] as $rowuser): ?>
                    <option value="<?php echo $rowuser['username']; ?>"><?php echo $rowuser['username']; ?></option>
					<?php endforeach;?>
				</select>
				<input id="reset" class="button red" type="button" value="Reset" name="reset" />
				<input id="validate" class="button themed" type="submit" value="<?php echo $this->lang->line('excel');?>" name="export" />		
			</form>
            </div>
          </div>

          <div class="box tabs themed_box">
			<h2 class="box-header"><?php echo $this->lang->line('activity'); ?></h2>
			<div class="box-content">
				<p class="p_left"><strong><?php echo $this->lang->line('actv_report'); ?></strong>
					<form id="formtest" name="formtest" method="post" action="<?php echo site_url($form['action4']); ?>">
						<label class="form-label"><?php echo $this->lang->line('user_name'); ?></label>
						<select class="form-field " id="select" name="user" title="Select a category">
							<option value="">ALL</option>
							<?php foreach($table['users'] as $rowuser): ?>
							<option value="<?php echo $rowuser['username']; ?>"><?php echo $rowuser['username']; ?></option>
						<?php endforeach;?>
						</select>
						<br/>
						<label class="form-label"><?php echo $this->lang->line('periode'); ?></label>
						<select class="form-field " id="select" name="periode" title="Select a category">
							<option value="1"><?php echo $this->lang->line('this_week'); ?></option>
							<option value="2"><?php echo $this->lang->line('next_week'); ?></option>
							<option value="3"><?php echo 'This Month Activity'; ?></option>
						</select>
						<br/>		
						<input id="validate" class="button themed" type="submit" value="<?php echo $this->lang->line('excel');?>" name="export" />		
					</form>
				</p>
			</div>
		</div>
		  
        </div>
        <div class="column half fr">
          <div class="box themed_box">
            <h2 class="box-header"><?php echo $this->lang->line('call'); ?></h2>
            <div class="box-content">
                <form id="formtest" name="formtest" method="post" action="<?php echo site_url($form['action2']); ?>">
				<!--<label class="form-label"><?php echo $this->lang->line('alphabet'); ?></label>
				<select class="form-field " id="select" name="start" title="Select a category">
                    <?php for($i=65;$i<=90;$i++):?>
                    <option value="<?php echo chr($i) ?>"><?php echo chr($i) ?></option>
                    <?php endfor;?>
				</select> -
				<select class="form-field" id="select" name="finish" title="Select a category">
                    <?php for($x=90;$x>=65;$x=$x-1):?>
                    <option value="<?php echo chr($x) ?>"><?php echo chr($x) ?></option>
                    <?php endfor;?>
				</select>
                -->
                <label class="form-label"><?php echo $this->lang->line('date'); ?></label>
			     <input name="date_start" class="form-field datepicker" type="text" value="" />
			     <input name="date_finish" class="form-field datepicker" type="text" value="" />
			
				<label class="form-label"><?php echo $this->lang->line('pic'); ?></label>
				<select class="form-field " id="rev" name="rev_search" title="Select a category">
                    <option value="">ALL</option>
					<?php foreach($table['users'] as $rowuser): ?>
                    <option value="<?php echo $rowuser['username']; ?>"><?php echo $rowuser['username']; ?></option>
					<?php endforeach;?>
				</select>
				
				<input id="reset" class="button red" type="button" value="Reset" name="reset" />
			<input id="validate" class="button themed" type="submit" value="<?php echo $this->lang->line('excel');?>" name="export" />		
			</form>
            </div>
          </div>
		  
		 
		  
          <div class="box themed_box">
            <h2 class="box-header"><?php echo $this->lang->line('job'); ?></h2>

            <div class="box-content">
              <form method="POST" action="<?php echo site_url($form['action6']); ?>">
              <h5>By Type</h5>
              <hr />
              <label class="form-label"><?php echo $this->lang->line('month'); ?></label>
			  <?php echo form_dropdown('month',$this->lang->line('month_list'),'class="form-field"'); ?>
              
              
			  <?php echo form_dropdown('year',$this->lang->line('year_list'),'class="form-field"'); ?>
              
              <br /><br />
              <?php echo form_dropdown('type',$this->lang->line('type_list'),array('class'=>'form-field')); ?>
			  <input id="validate" class="button themed" type="submit" value="<?php echo $this->lang->line('excel');?>" name="export" />
              
              
              
              </form>
              <br />
              <form id="formtest" name="formtest" method="post" action="<?php echo site_url($form['action7']); ?>">
              <h5>By Sales Fail</h5>
              <hr />
				<!--<label class="form-label"><?php echo $this->lang->line('alphabet'); ?></label>
				<select class="form-field " id="select" name="start" title="Select a category">
                    <?php for($i=65;$i<=90;$i++):?>
                    <option value="<?php echo chr($i) ?>"><?php echo chr($i) ?></option>
                    <?php endfor;?>
				</select> -
				<select class="form-field" id="select" name="finish" title="Select a category">
                    <?php for($x=90;$x>=65;$x=$x-1):?>
                    <option value="<?php echo chr($x) ?>"><?php echo chr($x) ?></option>
                    <?php endfor;?>
				</select>
                -->
                <label class="form-label"><?php echo $this->lang->line('date'); ?></label>
			     <input name="date_in" class="form-field datepicker" type="text" value="" />
			     <input name="date_out" class="form-field datepicker" type="text" value="" />
			
				<label class="form-label"><?php echo $this->lang->line('pic'); ?></label>
				<select class="form-field " id="rev" name="rev_search" title="Select a category">
                    <option value="">ALL</option>
					<?php foreach($table['users'] as $rowuser): ?>
                    <option value="<?php echo $rowuser['username']; ?>"><?php echo $rowuser['username']; ?></option>
					<?php endforeach;?>
				</select>
				
				<input id="reset" class="button red" type="button" value="Reset" name="reset" />
			<input id="validate" class="button themed" type="submit" value="<?php echo $this->lang->line('excel');?>" name="export" />		
			</form>
              <div class="clear"></div>
            </div>
          </div>
          
          <!--
          <div class="box themed_box">
            <h2 class="box-header"><?php echo $this->lang->line('sales_fail'); ?></h2>

            <div class="box-content">
                <form id="formtest" name="formtest" method="post" action="<?php echo site_url($form['action7']); ?>">
				<label class="form-label"><?php echo $this->lang->line('alphabet'); ?></label>
				<select class="form-field " id="select" name="start" title="Select a category">
                    <?php for($i=65;$i<=90;$i++):?>
                    <option value="<?php echo chr($i) ?>"><?php echo chr($i) ?></option>
                    <?php endfor;?>
				</select> -
				<select class="form-field" id="select" name="finish" title="Select a category">
                    <?php for($x=90;$x>=65;$x=$x-1):?>
                    <option value="<?php echo chr($x) ?>"><?php echo chr($x) ?></option>
                    <?php endfor;?>
				</select>
                
                <label class="form-label"><?php echo $this->lang->line('date'); ?></label>
			     <input name="date_in" class="form-field datepicker" type="text" value="" />
			     <input name="date_out" class="form-field datepicker" type="text" value="" />
			
				
				
				<input id="reset" class="button red" type="button" value="Reset" name="reset" />
			<input id="validate" class="button themed" type="submit" value="<?php echo $this->lang->line('excel');?>" name="export" />		
			</form>
            </div>
            
          </div>
          -->
          
          
        </div>